package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients
public class OrderFeignMain80 {
    public static void main(String[] args) {
        /*Feign是一个声明式WebService客户端，使用feign能让编写WebService客户端更加简单，
        *使用方式-定义一个服务接口然后在上面添加注解
        * Feign可以与Eureka和Ribbon结合使用以支持负载均衡
        */
        SpringApplication.run(OrderFeignMain80.class,args);
    }
}
